home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 176-200 / scopedisk180 / patch / stat.h < prev    next >
C/C++ Source or Header  |  1995-03-19  |  575b  |  28 lines

  1. /* Part of implementation of "stat" for the Amiga. Eric Green, Nov 89 */
  2.  
  3. struct stat
  4. {
  5.    long st_dev;
  6.    long st_ino;
  7.    unsigned short st_mode;
  8.    short st_nlink;
  9.    short st_uid;  /* dummy. */
  10.    short st_gid;
  11.    long st_rdev;
  12.    long st_size;
  13.    long st_atime; /* days since Jan 1 */
  14.    long st_mtime; /* minutes past midnight */
  15.    long st_ctime; /* tics past minute. */
  16. };
  17.  
  18. #define S_IFMT 0170000
  19. #define S_IFDIR 0040000
  20. #define S_IFCHR 0020000
  21. #define S_IFBLK 0060000
  22. #define S_IFREG 0100000
  23. #define S_IREAD 0000400
  24. #define S_IWRITE 0000200
  25. #define S_IEXEC 0000100
  26.  
  27.  
  28.